﻿using AutoMapper;
using B.S.Passport.Domain;
using B.S.Passport.Write.API.Application;
using B.S.Passport.Write.API.Application.PurchaseOrdername;

namespace B.S.Passport.Write.API
{
    public class AutoMapperProfile:Profile
    {
        public AutoMapperProfile()
        {

            CreateMap<WarehouseModel, AddWhouseCommand>().ReverseMap();

            CreateMap<ProductModel, PurchaseOrderCommand>().ReverseMap();

        }
    }
}
